package com.kgc.springboot.aviation.pojo;

import java.util.List;

public class Directory {
    private Integer id;

    private String directoryName;

    private Integer directorySorting;

    private Integer lawsId;

    private Integer level;

    private List<Branch> Branch;

    private Laws laws;


    public List<com.kgc.springboot.aviation.pojo.Branch> getBranch() {
        return Branch;
    }

    public void setBranch(List<com.kgc.springboot.aviation.pojo.Branch> branch) {
        Branch = branch;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDirectoryName() {
        return directoryName;
    }

    public void setDirectoryName(String directoryName) {
        this.directoryName = directoryName == null ? null : directoryName.trim();
    }

    public Integer getDirectorySorting() {
        return directorySorting;
    }

    public void setDirectorySorting(Integer directorySorting) {
        this.directorySorting = directorySorting;
    }

    public Integer getLawsId() {
        return lawsId;
    }

    public void setLawsId(Integer lawsId) {
        this.lawsId = lawsId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Directory{" +
                "id=" + id +
                ", directoryName='" + directoryName + '\'' +
                ", directorySorting=" + directorySorting +
                ", lawsId=" + lawsId +
                ", level=" + level +
                ", Branch=" + Branch +
                '}';
    }

    public Laws getLaws() {
        return laws;
    }

    public void setLaws(Laws laws) {
        this.laws = laws;
    }
}